Gtk{List,Tree}Store: Fix GI array annotations
authorMartin Pitt <martin.pitt@ubuntu.com>
Sat, 15 Jan 2011 21:26:12 +0000 (15:26 -0600)
committerMartin Pitt <martin.pitt@ubuntu.com>
Sat, 15 Jan 2011 21:26:12 +0000 (15:26 -0600)
gtk/gtkliststore.c
gtk/gtktreestore.c

index 4d9c1ddb1c833a3e9b0d3eaf422c901c715c8f04..d8ab6be31f65749c762285b63403261f4322cb88 100644 (file)
@@ -1533,7 +1533,7 @@ gtk_list_store_reorder_func (GSequenceIter *a,
 /**
  * gtk_list_store_reorder:
  * @store: A #GtkListStore.
- * @new_order: an array of integers mapping the new position of each child
+ * @new_order: (array): an array of integers mapping the new position of each child
  *      to its old position before the re-ordering,
  *      i.e. @new_order<literal>[newpos] = oldpos</literal>.
  *
@@ -2100,8 +2100,8 @@ gtk_list_store_insert_with_values (GtkListStore *list_store,
  * @list_store: A #GtkListStore
  * @iter: (out) (allow-none): An unset #GtkTreeIter to set to the new row, or %NULL.
  * @position: position to insert the new row
- * @columns: an array of column numbers
- * @values: an array of GValues 
+ * @columns: (array length=n_values): an array of column numbers
+ * @values: (array length=n_values): an array of GValues 
  * @n_values: the length of the @columns and @values arrays
  * 
  * A variant of gtk_list_store_insert_with_values() which
index d9a76a9e38eace41c8d5c2b738ec4111bc319ca4..4a4fd81050e3a3d0a8c950f69f4e69ef56100ef6 100644 (file)
@@ -1576,8 +1576,8 @@ gtk_tree_store_insert_with_values (GtkTreeStore *tree_store,
  * @iter: (out) (allow-none): An unset #GtkTreeIter to set the new row, or %NULL.
  * @parent: (allow-none): A valid #GtkTreeIter, or %NULL
  * @position: position to insert the new row
- * @columns: an array of column numbers
- * @values: an array of GValues
+ * @columns: (array length=n_values): an array of column numbers
+ * @values: (array length=n_values): an array of GValues
  * @n_values: the length of the @columns and @values arrays
  *
  * A variant of gtk_tree_store_insert_with_values() which takes
@@ -2248,7 +2248,7 @@ gtk_tree_store_reorder_func (gconstpointer a,
  * gtk_tree_store_reorder:
  * @tree_store: A #GtkTreeStore.
  * @parent: A #GtkTreeIter.
- * @new_order: an array of integers mapping the new position of each child
+ * @new_order: (array): an array of integers mapping the new position of each child
  *      to its old position before the re-ordering,
  *      i.e. @new_order<literal>[newpos] = oldpos</literal>.
  *